package com.capgemini.cn.authority.rest.valueobject.data;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * Created at 2017/9/18
 *
 * @author Andriy
 */
@ApiModel(value = "用户组值对象")
@JsonSerialize
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@NoArgsConstructor
public class GroupListVO extends GroupVO {

    @ApiModelProperty(value = "当前用户组的子集用户组信息")
    @Getter
    @Setter
    private List<GroupVO> childGroups = new ArrayList<>();

}
